import request from '@/util/request'

export function listDeviceViewTemplate(data) {
  return request({
    url: '/iot/device/view/template/list',
    method: 'post',
    data
  })
}
export function insertDeviceViewTemplate(data) {
  return request({
    url: '/iot/device/view/template/insert',
    method: 'post',
    data
  })
}

export function updateDeviceViewTemplate(data) {
  return request({
    url: '/iot/device/view/template/update',
    method: 'post',
    data
  })
}

export function getDeviceViewTemplate(data) {
  return request({
    url: '/iot/device/view/template/get',
    method: 'post',
    data
  })
}

export function deleteDeviceViewTemplate(data) {
  return request({
    url: '/iot/device/view/template/delete',
    method: 'post',
    data
  })
}

